package com.example.alee.ALeeSpringWeb.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;


@ConfigurationProperties(prefix = "nest-app")
public class NestAppBean {

    private String memo;
    private String name;
    private String owner;
    private Integer port;

    private Security security;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }

    public Integer getPort() {
        return port;
    }

    public void setPort(Integer port) {
        this.port = port;
    }

    public Security getSecurity() {
        return security;
    }

    public void setSecurity(Security security) {
        this.security = security;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    @Override
    public String toString() {
        return "NestAppBean{" +
                "memo='" + memo + '\'' +
                ", name='" + name + '\'' +
                ", owner='" + owner + '\'' +
                ", port=" + port +
                ", security=" + security +
                '}';
    }
}
